<%@ page trimDirectiveWhitespaces="true" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
    pageContext.setAttribute("basePath", basePath);
    pageContext.setAttribute("rootUrl", basePath);
%>
<c:set var="basePath" value="${basePath}"/>
<meta charset="UTF-8">
<script>
    document.domain = '${siteDomain}';
    var sysInfo = {};
    sysInfo.basePath = getLocalPath();//系统根路径

    function getLocalPath() {
        //获取当前网址，如： http://localhost:8083/uimcardprj/share/meun.jsp
        var curWwwPath = window.document.location.href;
        //获取主机地址之后的目录，如： /uimcardprj/share/meun.jsp
        var pathName = window.document.location.pathname;
        var pos = curWwwPath.indexOf(pathName);
        //获取主机地址，如： http://localhost:8083
        var localhostPaht = curWwwPath.substring(0, pos);
        return localhostPaht;
    }
</script>

<link rel="stylesheet" href="${rootUrl}/static/evaluating/css/reset.css">
<link rel="stylesheet" href="${rootUrl}/static/evaluating/css/iconfont.css">
<link rel="stylesheet" href="${rootUrl}/static/evaluating/css/index.css">

